﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Repository.Models
{
    /// <summary>
    /// 幼儿信息
    /// </summary>
    public class Childrens : BusinessFullEntityBase<Guid>
    {
        /// <summary>
        /// 名字
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 学号
        /// </summary>
        public string? StudentNumber { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Birthday { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public GenderType Gender { get; set; } = GenderType.Unknown;

        /// <summary>
        /// 家庭地址
        /// </summary>
        public string? HomeAddress { get; set; }

        /// <summary>
        /// 所在班级
        /// </summary>
        public string? ClassesId { get; set; }

        /// <summary>
        /// 登记日期
        /// </summary>
        public DateTime? RegisteredDay { get; set; }

        /// <summary>
        /// 幼儿状态
        /// </summary>
        public EnumChildState ChildState { get; set; } = EnumChildState.NotInClass;

        /// <summary>
        /// 毕业
        /// </summary>
        public DateTime? GradDay { get; set; }

        /// <summary>
        /// 入班时间
        /// </summary>
        public DateTime? ReadingDay { get; set; }

        /// <summary>
        /// 头像id
        /// </summary>
        public Guid? ImgId { get; set; }
    }
}
